import type { PageParams } from "../type";

export interface QueryTaskParams extends PageParams {
  type?: number;
  name?: string;
  parent_id?: number;
  project_id?: number;
  status?: number;
  handler?: number[];
  startTime?: string;
  endTime?: string;
}

export interface CreateTaskParams extends QueryTaskParams {
  name: string;
}
